/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2023-02-17
 * Time: 19:48
 */
//数据库代码
mysql>  create table goods(name varchar(20),price int,reserve int,describe varchar(20));
        ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe varchar(20))' at line 1
        mysql> create table goods(name varchar(20),price int,reserve int,descbrition varchar(20));
        Query OK, 0 rows affected (0.06 sec)

        mysql> show tables;
        +-------------------+
        | Tables_in_java108 |
        +-------------------+
        | goods             |
        +-------------------+
        1 row in set (0.00 sec)

        mysql> use java108;
        Database changed
        mysql> create table teacher(name varchar(20),age int,height int,weight int,gender varchar(5),education varchar(20),birthday datetime,id int);
        Query OK, 0 rows affected (0.03 sec)

        mysql> show tables;
        +-------------------+
        | Tables_in_java108 |
        +-------------------+
        | goods             |
        | teacher           |
        +-------------------+
        2 rows in set (0.00 sec)

        mysql> create table library(name varchar(20),author varchar(20),price int,sort varchar(20));
        Query OK, 0 rows affected (0.03 sec)

        mysql> show tables;
        +-------------------+
        | Tables_in_java108 |
        +-------------------+
        | goods             |
        | library           |
        | teacher           |
        +-------------------+
        3 rows in set (0.00 sec)

        mysql>

